import React from "react";
import Messages from "./components/Messages";
import NavBar from "./components/NavBar";

export const TestContext = React.createContext({ username: "" });
const Login: React.FC = () => {
  return (
    <TestContext.Provider value={{ username: "xl" }}>
      <div>
        <Messages />
        <NavBar />
      </div>
    </TestContext.Provider>
  );
};

export default Login;
